package gui.frames;

import gui.panels.statistics.StatisticsPanel;
import gui.utils.ComponentUtils;

import javax.swing.JFrame;

import common.models.StatisticsModel;

public class StatisticsFrame extends JFrame {

    private static final long serialVersionUID = 1L;

    public StatisticsFrame(StatisticsModel model) {
        getContentPane().add(new StatisticsPanel(model));
        setLocation(100,100);
        setResizable(false);
        setSize(800,600);
        setTitle("Statistics");
        ComponentUtils.installWindowClosingListener(this);
    }
    
}
